{php include pubTemplate("header_admin")}
<div class="midder">
    {php include template("admin/menu");}
    <div class="page">{$pageUrl}</div>
    <table class="table table-hover">
        <thead class="thead-light">
            <tr>
                <th>AlbumID</th>
                <th>图片</th>
                <th>标题</th>
                <th>UserID</th>
                <th>统计</th>
                <th>addtime</th>
                <th>操作</th>
            </tr>
        </thead>

        <tbody class="fs12">
        {loop $arrBoard $key $item}
            <tr>
                <td>{$item[boardid]}</td>
                <td>
                    <a href="{SITE_URL}index.php?app=svg&ac=admin&mg=board&ts=svg&albumid={$item[boardid]}">
                        <img src="{SITE_URL}public/images/event_dft.jpg" />
                    </a>
                </td>
                <td>{tsTitle($item['name'])}</td>
                <td>{$item[userid]}</td>
                <td>{$item['count_svg']}</td>
                <td>{$item['addtime']}</td>
                <td>
                    <a href="{SITE_URL}index.php?app=photo&ac=admin&mg=album&ts=isaudit&albumid={$item[albumid]}">
                        {if $item['isaudit']}
                        <font color="red">审核</font>
                        {else}
                        取消审核
                        {/if}
                    </a>
                    <a href="{SITE_URL}index.php?app=photo&ac=admin&mg=album&ts=isrecommend&albumid={$item[albumid]}">
                        {if $item[isrecommend]==0}
                        推荐
                        {else}
                        取消推荐
                        {/if}
                    </a>
                    <a href="{SITE_URL}index.php?app=photo&ac=admin&mg=album&ts=del_album&albumid={$item[albumid]}">删除</a>
                </td>
            </tr>
        {/loop}
        </tbody>
    </table>
</div>

{php include pubTemplate("footer_admin")}